<?php if (!defined('CANPHP')) exit;?><?php $list=module("label")->getlist('table=\"category\" pid=\"'.$top_category['cid'].'\" order=\"cid asc\"'); $list_i=0; if(is_array($list)) foreach($list as $list){  $list_i++; ?> <div class="left_nav"><a class="topnav_a <?php if($list['cid']==$info['cid'] || $list['cid']==$info['pid']){ ?>nav_first<?php } ?>" href="<?php if(!empty($list['url'])){ echo module('common')->return_tpl(html_out($list['url'])); }else{ echo module('label')->get_curl($list['cid']); } ?>" title="<?php echo $list['name']; ?>">&gt; <?php echo $list['name']; ?></a>
  <div class="sub_"> 
    <?php $lists=module("label")->getlist('table=\"category\" pid=\"'.$list['cid'].'\" order=\"cid asc\"'); $lists_i=0; if(is_array($lists)) foreach($lists as $lists){  $lists_i++; ?> <div class="left_sub_nav"><a class="subnav_a" href="<?php if(!empty($lists['url'])){ echo module('common')->return_tpl(html_out($lists['url'])); }else{ echo module('label')->get_curl($lists['cid']); } ?>" title="<?php echo $lists['name']; ?>">&gt; <?php echo $lists['name']; ?></a></div>
    <?php }unset($lists) ?> 
  </div>
</div>
<?php }unset($list) ?> 
<script>
function initMenu() {
  $('.left_nav .sub_').hide();
  $('.left_nav:first .sub_').show();
  $('.left_nav a').mousemove(
    function() {
      var checkElement = $(this).next();
      if((checkElement.is('.sub_')) && (checkElement.is(':visible'))) {
        return false;
        }
      if((checkElement.is('.sub_')) && (!checkElement.is(':visible'))) {
        $('.left_nav .sub_:visible').slideUp('normal');
        checkElement.slideDown('normal');
        return false;
        }
      }
    );
  }


//$(document).ready(function() {initMenu();});
</script>
<div class="left_title">Hot Product</div>
<div class="rycon" style="margin-bottom:10px;padding-top:10px"> 
<!-- 首页推荐产品 -->
  <?php $list_pic=module("label")->getlist('table=\"content\" cid=\"19\" image=\"true\" position=\"1\" order=\"updatetime desc\" limit=\"1\" '); $list_pic_i=0; if(is_array($list_pic)) foreach($list_pic as $list_pic){  $list_pic_i++; ?> <dl style="line-height:30px;">
 <dt><a href="<?php if(!empty($list_pic['url'])){ echo module('common')->return_tpl(html_out($list_pic['url'])); }else{ echo module('label')->get_aurl($list_pic['aid']); } ?>" title="<?php echo $list_pic['title']; ?>" target="_blank"><img src="<?php echo $list_pic['image']; ?>" alt="<?php echo $list_pic['title']; ?>" title="<?php echo $list_pic['title']; ?>" style="width:218px;height:200px;"/></dt>
    <dd> <a href="<?php if(!empty($list_pic['url'])){ echo module('common')->return_tpl(html_out($list_pic['url'])); }else{ echo module('label')->get_aurl($list_pic['aid']); } ?>" title="<?php echo $list_pic['title']; ?>" target="_blank"> <?php echo msubstr($list_pic['title'],0,17); ?></a></dd>
  </dl>
  <?php }unset($list) ?> 
</div>
<div class="left_title">Contact Us</div>
<div class="contactn mt10 mb10 mb10">

    <div class="subnr" style="line-height:20px;"> <img src="/public/images/contactus.jpg" width="219">
        <p class="dh"> Company:<span></span><?php echo $sys['company_name']; ?></p>
        <p class="yx"> Email:<span></span> <a href="mailto:<?php echo $sys['company_email']; ?>"><?php echo $sys['company_email']; ?></a> </p>
        <p class="dh"> Phone:<span></span><?php echo $sys['company_phone']; ?></p>
        <p class="dh"> Fax:<span></span><?php echo $sys['company_fax']; ?></p>
        <p class="dh"> Address:<span></span><?php echo $sys['company_address']; ?></p>
        <p><a href="<?php echo __INDEX__; ?>/contact-us/"><img style="border: 0" src="/public/images/inq.jpg"></a></p>

    </div>
</div>
